package com.company.oa.hr.dto.training;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
public class CourseDTO {
    private Long id;
    
    @NotNull(message = "计划ID不能为空")
    private Long planId;
    
    @NotBlank(message = "课程名称不能为空")
    private String courseName;
    
    @NotNull(message = "课程类型不能为空")
    private Integer courseType;
    
    @NotNull(message = "开始时间不能为空")
    private Date startTime;
    
    @NotNull(message = "结束时间不能为空")
    private Date endTime;
    
    private String location;
    
    @NotBlank(message = "讲师姓名不能为空")
    private String lecturerName;
    
    private String lecturerInfo;
    
    @NotBlank(message = "课程内容不能为空")
    private String content;
    
    private Integer maxParticipants;
} 